﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainTree.aspx.cs" Inherits="Itop.GpsCar.Web.CustomAdmin.mainTree" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>mainTree</title>
  
    <link href="../resources/css/tree.css" rel="stylesheet" type="text/css" />
<link href="../resources/css/global.css" type="text/css" rel="stylesheet">
<link href="../resources/css/customer.css" type="text/css" rel="stylesheet">
<style type="text/css">
html,body{overflow:hidden;}
</style>
<script type="text/javascript" src="../resources/js/jquery-1.js"></script>
<script type="text/javascript" src="../resources/js/maintree/tree_002.js"></script>
<script type="text/javascript" src="../resources/js/maintree/tree_003.js"></script>
<script src="../resources/js/maintree/tree.js" type="text/javascript">
<script type="text/javascript">
var login_user = {text:"flynature",id:1189337,leaf:false,expanded:true}
var expand_ids = {school_id:1189337,select_id:1189337};
var expireScopeType = [-1,-1],selectNode = {};
var overCust = new Object();
overCust.treeType = 0;
overCust.custid = 1189337;
overCust.custname = "flynature";
var salesURL = [
"addTracker.jsp?school_id=1189337",
"productManage.jsp?school_id=1189337",
"customManage.jsp?school_id=1189337",
"taxList.jsp?school_id=1189337&type=0",
"taxList.jsp?school_id=1189337&type=1",
"customUpdate.jsp?win=false&school_id=1189337",
"importImei.jsp?school_id=1189337",
"infuseMoney.jsp?school_id=1189337"
];
function redirect(){
var url = 'sendRedirect.jsp?logOut=&login_id='+overCust.custid;
window.open(url);
}
function showAddCustomWin(){
top.win.openWinLayer(top.lg.addutit,"newCustom.jsp?p_id="+ overCust.custid +"&name=",550,400,2,window,null);
}
</script>
</head>
<body>
    <body onresize="syncSize()" style="cursor: auto;">
<div id="main" class="layout open-s300-m">
<div class="col_main">
<div id="rightFram_container" class="main_wrap" style="height: 367px;">
<div class="mod_box">
<div class="hd">
<h3 class="hd_title">账户信息</h3>
</div>
<div id="slectCustMsge" class="bd profile">
<table>
<tbody>
<tr>
<td class="links" colspan="3">
<label id="name">flynature</label>
<a class="edit" href="javascript:selectSales(5,salesURL[5]);">
编辑
<b class="edit_bg"></b>
</a>
<label></label>
<a class="monitor" href="javascript:redirect();">
监控
<b class="monitor_bg"></b>
</a>
</td>
</tr>
<tr>
<td>
<label>登录名：</label>
<span id="login_name">flynature</span>
</td>
<td>
<label>类型：</label>
<span id="grade">经销商</span>
</td>
<td>
<label>设备数量：</label>
库存(
<span id="selfNum">0</span>
)&nbsp;进货(
<span id="total">0</span>
)
</td>
</tr>
<tr>
<td>
<label>联系人：</label>
<span id="contact">W</span>
</td>
<td>
<label>电话：</label>
<span id="phone">139</span>
</td>
<td>
<label>地址：</label>
<span id="address">BJ</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="navInfo">
<ul class="nav">
<li id="" style="display:none">
<span>
<a onclick="selectSales(0,salesURL[0])" name="navigate_" href="javascript:void(0)" hidefocus="">销售</a>
</span>
</li>
<li id="navigate_item_over">
<span>
<a onclick="selectSales(1,salesURL[1])" name="navigate_" href="javascript:void(0)" hidefocus="">设备</a>
</span>
</li>
<li id="">
<span>
<a onclick="selectSales(2,salesURL[2])" name="navigate_" href="javascript:void(0)" hidefocus="">下级客户</a>
</span>
</li>
<li id="">
<span>
<a onclick="selectSales(3,salesURL[3])" name="navigate_" href="javascript:void(0)" hidefocus="">缴费</a>
</span>
</li>
<li id="">
<span>
<a onclick="selectSales(4,salesURL[4])" name="navigate_" href="javascript:void(0)" hidefocus="">收费</a>
</span>
</li>
<li id="">
<span>
<a onclick="selectSales(5,salesURL[5])" name="navigate_" href="javascript:void(0)" hidefocus="">资料</a>
</span>
</li>
</ul>
</div>
<div id="workpage_canvas">
<iframe id="contentFrame" frameborder="0" scrolling="auto" style="width: 100%; height: 190px;" name="contentFrame" src="productManage.jsp?school_id=1189337&custid=1189337&cpage=20&ppage=20&ecar=64">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>页面载入出错</title>
<link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all">
Filtered chrome url chrome://global/skin/netError.css
</link>
<link id="favicon" rel="icon" type="image/png" href="chrome://global/skin/icons/warning-16.png"/>
<script type="application/javascript">
</head>
<body dir="ltr">
<div id="errorPageContainer">
<div id="errorTitle">
<h1 id="errorTitleText">未找到文件</h1>
</div>
<div id="errorLongContent">
<div id="errorShortDesc">
<p id="errorShortDescText">Firefox 无法在 /E:/deqiang/WBPROJECT/gpscar/gpsdemo/flynature_files/productManage.jsp?school_id=1189337&amp;custid=1189337&amp;cpage=20&amp;ppage=20&amp;ecar=64 找到该文件。</p>
</div>
<div id="errorLongDesc">
<ul>
<li>请检查文件名的大小写或者其他拼写错误。</li>
<li>请检查文件是否被移动，重命名或者删除。</li>
</ul>
</div>
</div>
<button id="errorTryAgain" autocomplete="off" onclick="retryThis(this);">重试</button>
</div>
<script type="application/javascript">
initPage();
</script>
</body>
</html>
</iframe>
</div>
</div>
</div>
<div class="col_sub">
<div id="navTree">
<div id="treeTitle" class="hd">
<h3>
<b></b>
客户列表
</h3>
<a class="btn_add" title="新增" href="javascript:showAddCustomWin();" hidefocus="true">
+ 添加
<b class="bg_l"></b>
<b class="bg_r"></b>
</a>
</div>
<ul id="treeTab" class="nav">
<li id="treeItemOver" title="全部客户">
<span>
<a onclick="getselect('treeCustom',0,'treeItemOver',true)" name="treeCustom">全部客户</a>
</span>
</li>
<li id="" title="需要向上级缴费的客户及设备信息">
<span>
<a onclick="getselect('treeCustom',1,'treeItemOver',true);" name="treeCustom">缴费</a>
</span>
</li>
<li id="" title="需要向下级收费的客户及设备信息">
<span>
<a onclick="getselect('treeCustom',2,'treeItemOver',true)" name="treeCustom">收费</a>
</span>
</li>
</ul>
</div>
<div id="treeContainer" style="height: 288px;">
<div id="filter-con" class="cond" style="padding-bottom: 2px; display: none;">
&nbsp;距到期：
<select style="height:21px;line-height:21px;padding:1px" onchange="treeReload(this.options[this.selectedIndex].value);">
<option selected="selected" value="-1">已过期</option>
<option value="7">7天内过期</option>
<option value="60">60天内过期</option>
</select>
</div>
<div id="bordTree0" class="bordTree">
<ul id="tree0" class="ztree"></ul>
</div>
</div>
</div>
</div>
<div id="rMenu">
<ul>
<li class="refreshc">刷 新</li>
<li class="salec">销售设备</li>
<li class="newc">新增客户</li>
<li class="mangerc">管理客户</li>
<li class="delc">删除客户</li>
<li class="resetc">重置密码</li>
<li class="movec">客户转移</li>
</ul>
</div>

<script src="../resources/js/maintree/main.js" type="text/javascript"></script>
</body>
</html>
